<?php

namespace Drupal\shusy_store_order_line\ViewsController\handler\filter;

use Drupal\shusy_store_order_line\ViewsController\Traits\ShusyStoreOrderLineTypeTrait;
use views_handler_filter_many_to_one;

class ShusyStoreOrderLineTypeViewsFilter extends views_handler_filter_many_to_one {

  use ShusyStoreOrderLineTypeTrait;

  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_title = "类型";
      $this->value_options = $this->getTypeOptions();
    }
  }
}
